package pojo;

import java.io.Serializable;

public class Employee extends BaseClass implements Serializable {
   public String empNo;
   public String empName;
   public String empost;
   public double empSalary;

    public Employee() {
    }

    public Employee(String empNo, String empName, String empost, double empSalary) {
        this.empNo = empNo;
        this.empName = empName;
        this.empost = empost;
        this.empSalary = empSalary;
    }

    public void showInfo() {
        System.out.println("员工工号："+empNo+"，名字："+empName);
        System.out.println("员工职位："+empost+"，工资："+empSalary);
    }
}
